<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Flexible布局</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }

      .box {
        width: 800px;
        height: 300px;
        background-color: orange;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: space-around;
      }

      .box .item {
        width: 80px;
        height: 80px;
        margin: 5px;
        border: 1px solid black;
      }

      .itme1 {
        flex: 1;
        /* align-self: flex-end; */
      }

      .itme3 {
        flex: 1;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="item itme1">1</div>
      <div class="item itme2">2</div>
      <div class="item itme3">3</div>
    </div>
  </body>
</html>
